#!/bin/bash
#功能函数
funcs=./functions.sh
if test ! -f $funcs; then
    funcs=`which functions.sh`
    if [ "$funcs" = "" ]; then
        echo "functions.sh not exist!!"
        return
    else
        echo "funcs=$funcs"
	. $funcs
    fi
else
    echo "funcs=$funcs"
    . $funcs  
fi
local_path=`dirname ${0}`
###################
###脚本入口
cd $local_path
menu_list="`ls *.sh`"
menu_list="`echo $menu_list |sed 's/index.sh//g'`"
cd -
echoTextBlue "Please select"
result=`sh_menu_select "$menu_list"`
echo "find $local_path -name $result"
`find $local_path -name "$result"`









